import request from '@/utils/request'

export function getMessgeList(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/messenger/message/getList',
    method: 'post',
    data: query
  })
}   

export function getMessgeInbox(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/messenger/message/inbox',
    method: 'post',
    data: query
  })
}   